﻿<navigation:Page x:Class="ibba.src.norisk.page.PageRelatorios" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           xmlns:local="clr-namespace:ibba.src.norisk.Controls"
           xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="740" d:DesignHeight="480"
           Title="Relatórios">
    <toolkit:BusyIndicator x:Name="activity">
        <Grid x:Name="LayoutRoot">
            <local:Mapa HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,45,0,0" />

            <Grid x:Name="gridHeader" Grid.ColumnSpan="2" Grid.Row="0" Background="#FFFFFFFF" HorizontalAlignment="Stretch" VerticalAlignment="Top" >
                <Grid.ColumnDefinitions >
                    <ColumnDefinition Width="35" />
                    <ColumnDefinition MinWidth="200" />
                    <ColumnDefinition MinWidth="40"/>
                </Grid.ColumnDefinitions>

                <Grid.RowDefinitions>
                    <RowDefinition />
                    <RowDefinition />
                </Grid.RowDefinitions>

                <Border Grid.Row="0" Background="#FF5C7590" Grid.ColumnSpan="6" HorizontalAlignment="Stretch" d:LayoutOverrides="GridBox">

                    <StackPanel Orientation="Horizontal" Width="160" Height="40" Grid.Row="0" Grid.Column="2" HorizontalAlignment="Right">
                        <Image  Margin="0,0,0,0" Width="160" Height="40" Source="../image/etq_confidencial_restrita.png" />
                    </StackPanel>

                </Border>
                <Image Height="42" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="45" Source="../image/full_page.png" Stretch="Fill"/>

                <StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal">
                    <TextBlock Text="Relatórios" FontSize="14" Foreground="#FFC4991C" Grid.Column="1"
        	            VerticalAlignment="Center" Width="Auto" HorizontalAlignment="Left" FontFamily="Verdana" 
                        Margin="10,0,0,0" FontWeight="Bold" />
                    <Border CornerRadius="5" Background="#FFDEDEDE" Margin="5,5" Height="35" MinWidth="450">
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Text="Tipo de Relatório" Foreground="#FF14517B" Margin="10,0,10,0" VerticalAlignment="Center" />
                            <ComboBox DisplayMemberPath="NomeRelatorio" x:Name="cboTipoRelatorio" MinWidth="190" Height="24" Margin="5,5" SelectionChanged="cboTipoRelatorio_SelectionChanged" />
                        </StackPanel>
                    </Border>
                </StackPanel>

                <StackPanel x:Name="stpContent" Grid.Row="1" Grid.ColumnSpan="3" Margin="10,5" HorizontalAlignment="Left"/>

            </Grid>
        </Grid>
    </toolkit:BusyIndicator>
</navigation:Page>
